
<%@ page import="com.edusite.Avisos" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'avisos.label', default: 'Avisos')}" />
        <title><g:message code="default.show.label" args="[entityName]" /></title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLink(uri: '/')}">Home</a></span>
 
        </div>
        <div class="body">
            <h1>Avisos</h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div class="dialog">
                <table>
                    <tbody>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="avisos.enviadopor.label" default="Enviadopor" /></td>
                            
                            <td valign="top" class="value"><g:link controller="personas" action="show" id="${avisosInstance?.enviadopor?.id}">${avisosInstance?.enviadopor?.nombre.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="avisos.asunto.label" default="Asunto" /></td>
                            
                            <td valign="top" class="value"><h3>${fieldValue(bean: avisosInstance, field: "asunto")}</h3></td>
                            
                        </tr>
                    </tbody>
		</table>
                <table width="400">
                    <tbody width="400">
                        <tr class="propg" width="400">
                            <td valign="top" class="name"><g:message code="avisos.texto.label" default="Texto" /></td>
                            
                            <td valign="top" class="value" width="400" height="100">${fieldValue(bean: avisosInstance, field: "texto").decodeHTML()}</td>
                            
                        </tr>
                    </tbody>
		</table>
                <table>
                    <tbody>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="avisos.tipo.label" default="Tipo" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: avisosInstance, field: "tipo")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="avisos.asignatura.label" default="Asignatura" /></td>
                            
                            <td valign="top" class="value"><g:link controller="asignaturas" action="show" id="${avisosInstance?.asignatura?.id}">${avisosInstance?.asignatura?.nombre.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="avisos.fecharealiz.label" default="Fecharealiz" /></td>
                            
                            <td valign="top" class="value"><g:formatDate date="${avisosInstance?.fecharealiz}" /></td>
                            

                        </tr>
                    
                    </tbody>
                </table>
            </div>

        </div>
    </body>
</html>
